package com.sky.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "DataOverViewQueryDTO", description = "数据概览查询参数")
public class DataOverViewQueryDTO implements Serializable {

    @ApiModelProperty(
            value = "查询开始时间",
            example = "2023-01-01 00:00:00",
            notes = "格式：yyyy-MM-ddTHH:mm:ss"
    )
    private LocalDateTime begin;

    @ApiModelProperty(
            value = "结束时间",
            example = "2023-12-31T23:59:59",
            notes = "格式：yyyy-MM-ddTHH:mm:ss，需晚于开始时间"
    )
    private LocalDateTime end;

}
